//----------------------------------*-C++-*----------------------------------//
/*!
 * \file   TestInput.hh
 * \author Jeremy Roberts
 * \date   Aug 31, 2011
 * \brief  TestInput class definition.
 * \note   Copyright (C) 2011 Jeremy Roberts. 
 */
//---------------------------------------------------------------------------//
// $Rev:: 125                                           $:Rev of last commit
// $Author:: j.alyn.roberts@gmail.com                   $:Author of last commit
// $Date:: 2011-09-02 00:41:14 +0000 (Fri, 02 Sep 2011) $:Date of last commit
//---------------------------------------------------------------------------//

#include "tran/BaseInput.hh"

#include "../utilities/SP.hh"

#ifndef TESTINPUT_HH_
#define TESTINPUT_HH_

namespace slabtran
{


//===========================================================================//
/*!
 *  \class TestInput
 *  \brief Dummy class for faking input.
 *
 *  This class assigns the bare minimum input for use with testing various
 *  other classes.
 *
 */

class TestInput : public BaseInput
{

public:

  /// Typedef to me.
  typedef util::SP<TestInput> SP_input;


  /*
   *  \brief Constructor.
   *
   *  This sets a small subset of parameters needed to initialize
   *  other classes.
   */
  TestInput( int number_groups      = 1,
             int legendre_order     = 1,
             int dimension          = 1,
             int quadrature_order   = 4,
             int quadrature_type    = 0)
  {
    d_number_groups     = number_groups;
    d_legendre_order    = legendre_order;
    d_dimension         = dimension;
    d_quadrature_order  = quadrature_order;
    d_quadrature_type   = quadrature_type;
    // others that we just default
    d_store_psi         = false;
    d_upscatter_on      = true;
  }

  /*
   *  \brief Process a user's input file.
   *
   *  \param    inputfile   String name of input file.
   *  \return   True if successful processing.
   */
  bool process(std::string inputfile){ return true; }

};

} // end namespace slabtran

#endif /* TESTINPUT_HH_ */

//---------------------------------------------------------------------------//
//              end of TestInput.hh
//---------------------------------------------------------------------------//
